<?php
/**
 * Created by PhpStorm.
 * User: RagPanda
 * Date: 2016/3/9
 * Time: 11:56
 */

namespace App\Http\Controllers\Admin;


use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Session;

class BaseController extends Controller
{
    public function login(){}
    public function _login(){}
    public function index()
    {
        return view("Admin.index");
    }
    public function logout()
    {
        Session::flush();
        return redirect()->back();
    }

}